﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SaiPuLSCoffee.model
{
    public class DigitalMsg
    {
        private static DigitalMsg instance;
        private DigitalMsg() { }
        public static DigitalMsg Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new DigitalMsg();
                }
                return instance;
            }
        }
        #region 输入数据
        /// <summary>
        /// 机器人远程开机1 开
        /// </summary>
        public string RobotPowerOn1_start { get; set; } = "01 05 00 00 FF 00 8C 3A";
        /// <summary>
        /// 机器人远程开机1 关
        /// </summary>
        public string RobotPowerOn1_end { get; set; } = "01 05 00 00 00 00 CD CA";
        /// <summary>
        /// 机器人远程开机2 开
        /// </summary>
        public string RobotPowerOn2_start { get; set; } = "01 05 00 01 FF 00 DD FA";
        /// <summary>
        /// 机器人远程开机2 关
        /// </summary>
        public string RobotPowerOn2_end { get; set; } = "01 05 00 01 00 00 9C 0A";
        /// <summary>
        /// 搅拌1左侧 开
        /// </summary>
        public string JB1ZC_start { get; set; } = "01 05 00 02 FF 00 2D FA";
        /// <summary>
        /// 搅拌1左侧  关
        /// </summary>
        public string JB1ZC_end { get; set; } = "01 05 00 02 00 00 6C 0A";
        /// <summary>
        /// 搅拌2右侧 开
        /// </summary>
        public string JB2YC_start { get; set; } = "01 05 00 03 FF 00 7C 3A";
        /// <summary>
        /// 搅拌2右侧 关
        /// </summary>
        public string JB2YC_end { get; set; } = "01 05 00 03 00 00 3D CA";
        /// <summary>
        /// 水泵1左侧 开
        /// </summary>
        public string SB1ZC_start { get; set; } = "01 05 00 04 FF 00 CD FB";
        /// <summary>
        /// 水泵1左侧  关
        /// </summary>
        public string SB1ZC_end { get; set; } = "01 05 00 04 00 00 8C 0B";
        /// <summary>
        /// 水泵2左侧 开
        /// </summary>
        public string SB2YC_start { get; set; } = "01 05 00 05 FF 00 9C 3B";
        /// <summary>
        /// 水泵2左侧 关
        /// </summary>
        public string SB2YC_end { get; set; } = "01 05 00 05 00 00 DD CB";
        /// <summary>
        /// 果糖泵 开
        /// </summary>
        public string GTB_start { get; set; } = "01 05 00 06 FF 00 6C 3B";
        /// <summary>
        /// 果糖泵 关
        /// </summary>
        public string GTB_end { get; set; } = "01 05 00 06 00 00 2D CB";
        /// <summary>
        /// 咖啡机萃取1 开
        /// </summary>
        public string CFJCQ1_start { get; set; } = "01 05 00 0E FF 00 ED F9";
        /// <summary>
        /// 咖啡机萃取1 关
        /// </summary>
        public string CFJCQ1_end { get; set; } = "01 05 00 0E 00 00 AC 09";
        /// <summary>
        /// 咖啡机萃取2 开
        /// </summary>
        public string CFJCQ2_start { get; set; } = "01 05 00 0F FF 00 BC 39";
        /// <summary>
        /// 咖啡机萃取2 关
        /// </summary>
        public string CFJCQ2_end { get; set; } = "01 05 00 0F 00 00 FD C9";
        #endregion
        #region 查询数据

        public string AllMessage { get; set; } = "01 04 00 00 00 32 71 DF";

        #endregion
    }
}
